toPositiveIntOrNull

Returns this value as a positive int, or returns null if this value is strictly negative.